export const APP_DATA = {
  app: {
    name: '仲恺学生学业管理平台',
    description: 'Ng-zorro & Ng-alain admin panel front-end framework',
  },
  menu: [
    {
      text: '主菜单',
      i18n: 'menu.main',
      group: true,
      hideInBreadcrumb: true,
      children: [
        {
          text: '首页',
          link: '/dashboard',
          i18n: 'menu.dashboard',
          icon: 'anticon-dashboard',
        },
        {
          text: '系统管理',
          i18n: 'menu.security',
          icon: 'anticon-safety',
          acl: ['ROLE_ADMIN', 'ROLE_SENATOR'],
          children: [
            {
              text: '字典管理',
              link: '/icm-global/dictionary',
              i18n: 'menu.security.dictionary',
              acl: ['ROLE_ADMIN'],
            },
            {
              text: '系统参数管理',
              link: '/icm-global/configuration',
              i18n: 'menu.security.configurations',
              acl: ['ROLE_ADMIN', 'ROLE_SENATOR'],
            },
            {
              text: '文件管理',
              link: '/icm-global/system-file',
              i18n: 'menu.security.system-file',
              acl: ['ROLE_ADMIN'],
            },
          ],
        },
        {
          text: '基础数据',
          i18n: 'menu.base',
          icon: 'anticon-database',
          children: [
            {
              text: '学院管理',
              link: '/icm-base/academy',
              i18n: 'menu.base.academy',
            },
            {
              text: '专业管理',
              link: '/icm-base/profession',
              i18n: 'menu.base.profession',
            },
            {
              text: '班级管理',
              link: '/icm-base/class',
              i18n: 'menu.base.class',
            },
            {
              text: '课程类型管理',
              link: '/icm-base/course-type',
              i18n: 'menu.base.course-type',
              acl: ['ROLE_SENATOR'],
            },
            {
              text: '课程管理',
              link: '/icm-base/course',
              i18n: 'menu.base.course',
            },
          ],
        },
        {
          text: '系统用户管理',
          i18n: 'menu.system-user',
          icon: 'anticon-deployment-unit',
          acl: ['ROLE_ADMIN', 'ROLE_SENATOR', 'ROLE_INSTRUCTOR'],
          children: [
            {
              text: '用户管理',
              link: '/icm-system-user/user',
              i18n: 'menu.system-user.user',
              acl: ['ROLE_ADMIN', 'ROLE_SENATOR'],
            },
            {
              text: '教师管理',
              link: '/icm-system-user/teacher',
              i18n: 'menu.system-user.teacher',
              acl: ['ROLE_SENATOR', 'ROLE_INSTRUCTOR'],
            },
            {
              text: '学生管理',
              link: '/icm-system-user/student',
              i18n: 'menu.system-user.student',
              acl: ['ROLE_SENATOR', 'ROLE_INSTRUCTOR'],
            },
          ],
        },
        {
          text: '学生学业管理',
          i18n: 'menu.student-academic',
          icon: 'anticon-container',
          acl: ['ROLE_INSTRUCTOR', 'ROLE_STUDENT', 'ROLE_TEACHER'],
          children: [
            {
              text: '选课管理',
              link: '/icm-student-academic/student-course',
              i18n: 'menu.student-academic.student-course',
              acl: ['ROLE_STUDENT'],
            },
            {
              text: '成绩录入',
              link: '/icm-student-academic/student-score-entry',
              i18n: 'menu.student-academic.student-score-entry',
              acl: ['ROLE_TEACHER'],
            },
            {
              text: '查看成绩',
              link: '/icm-student-academic/student-score',
              i18n: 'menu.student-academic.student-score',
              acl: ['ROLE_STUDENT'],
            },
            {
              text: '综合测评',
              link: '/icm-student-academic/comprehensive-evaluation',
              i18n: 'menu.student-academic.comprehensive-evaluation',
              acl: ['ROLE_STUDENT', 'ROLE_CLASS_EVALUATION_ADMIN', 'ROLE_INSTRUCTOR'],
            },
            {
              text: '学业进展统计',
              link: '/icm-student-academic/academic-statistics',
              i18n: 'menu.student-academic.academic-statistics',
              acl: ['ROLE_INSTRUCTOR'],
            },
            {
              text: '综合成绩统计',
              link: '/icm-student-academic/consolidated-results',
              i18n: 'menu.student-academic.consolidated-results',
              acl: ['ROLE_INSTRUCTOR'],
            },
            {
              text: '通知管理',
              link: '/icm-student-academic/notification-information',
              i18n: 'menu.student-academic.notification-information',
              acl: ['ROLE_INSTRUCTOR'],
            },
          ],
        },
        {
          text: '学生个人中心',
          icon: 'anticon-solution',
          i18n: 'menu.student.status',
          acl: ['ROLE_STUDENT'],
          children: [
            {
              text: '学籍档案',
              link: '/icm-student-status/student-profile',
              i18n: 'menu.student.status.student-profile',
              acl: ['ROLE_STUDENT'],
            },
            {
              text: '学业进展',
              link: '/icm-student-status/academic-progress',
              i18n: 'menu.student.status.academic-progress',
              acl: ['ROLE_STUDENT'],
            },
          ],
        },
        {
          text: '教学安排',
          i18n: 'menu.study-schedule',
          icon: 'anticon-thunderbolt',
          acl: ['ROLE_TEACHER', 'ROLE_SENATOR'],
          children: [
            {
              text: '课程开课管理',
              link: '/icm-study-schedule/start-course',
              i18n: 'menu.study-schedule.start-course',
              acl: ['ROLE_TEACHER', 'ROLE_SENATOR'],
            },
          ],
        },
      ],
    },
  ],
};
